﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Public;
using DAL;
using System.Data;

namespace BUS
{
    public class Kho_BUS
    {
        Kho_DAL k_dal = new Kho_DAL();
        public DataTable LayDSKho()
        {
            return k_dal.LayDSKho();
        }
        public int ThemSuaKho(Kho_PB k_pb)
        {
            return k_dal.ThemSuaKho(k_pb);
        }
        //public int SuaKho(Kho_PB k_pb)
        //{
        //    return k_dal.SuaKho(k_pb);
        //}
        public int XoaKho(Kho_PB k_pb)
        {
            return k_dal.XoaKho(k_pb);
        }
        public int XoaKho(string ma)
        {
            return k_dal.XoaKho(ma);
        }
        public bool Exists(string ma)
        {
            return k_dal.Exists(ma);
        }
    }
}
